<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        @keyframes x{
            0%{
                transform: translate(0);
            }
            25%{
                transform: translate(1000px,0px);
                background-color: orange;
            }
            50%{
                transform: translate(1000px,500px);
                background-color: slateblue;
            }
            75%{
                transform: translate(0,500px);
                background-color: springgreen;
            }
            100%{
                transform: translate(0,0);
                background-color: skyblue;
            }
        }
        div{
            width: 200px;
            height: 200px;
            background-color: skyblue;
            border-radius: 50%;
            animation: x 6s infinite;
        }
    </style>
</head>
<body>
    <div></div>
</body>
</html>